package cn.aixuxi.notebank.mapper;

import cn.aixuxi.notebank.dto.UserInputDTO;
import cn.aixuxi.notebank.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<UserEntity> {
    UserEntity login(UserInputDTO userInputDTO);

    UserEntity findByUsername(String username);
}
